package com.lmx.cloud;

import com.lmx.util.ConfigUtil;
import io.minio.MinioClient;
import io.minio.errors.InvalidEndpointException;
import io.minio.errors.InvalidPortException;

/**
 * Client
 */
//连接云
public class Client extends MinioClient {

    public Client() throws InvalidEndpointException, InvalidPortException {

        super(ConfigUtil.getConfig("cloud.url"), ConfigUtil.getConfig("cloud.access_key"),ConfigUtil.getConfig("cloud.secret_key"),false);
    }
}